<div class="nav">
   <a href="{:U('index')}">链接列表</a>
   <a class="sel" href="#">编辑链接</a>
</div>
<div class="add">
  <form method="post" action="" >
  <table class="table_add">
    <tr>
      <td width="100px">裢接标题</td>
      <td><input class="input1" type="text" name="title" id="title" value="{$model.title}" style="width:140px" /> </td>
    </tr>
    <tr>
      <td width="100px">链接地址</td>
      <td><input class="input1" type="text" name="url" id="url" value="{$model.url}" style="width:340px" /> </td>
    </tr>
    <tr style="display:none">
      <td>裢接图片</td>
      <td>
      <include file="Public/uploadfile" filetype="image" id="picture"  value="{$model.picture}" editvalue="{:getEditFiles($model['picture'])}" width="100" path="link" limit="1" thumbw="" thumbh="" msg="220px*220px"/>
     </td>
    </tr>
    <tr>
      <td width="100px">顺序编号</td>
      <td><input class="input1" type="text" name="order_id" id="order_id" value="{$model.order_id}" style="width:60px" /> <label class="msg">*</label></td>
    </tr>
    <tr>
      <td width="100px">是否显示</td>
      <td><select name="is_show" id="is_show" class="sel1">
             <option value="1">显示</option>
             <option value="0">不显示</option>
          </select>
          <script type="text/javascript">
		      $("#is_show").val('{$model.is_show}');
		  </script> 
      </td>
    </tr>
    <tr>
      <td></td>
      <td><input type="submit" class="btn1" value="提 交" /> &nbsp; <input class="btn4" type="reset" value="重 置" /> &nbsp; <input class="btn3"  type="button" onclick="window.history.back()" value="返 回" /></td>
    </tr>
  </table>
  <input type="hidden" name="id" value="{$model.id}" />
  </form>
</div>
